<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="dao.*" %>
    <jsp:include page="ViewOrder.jsp"></jsp:include>
<!DOCTYPE html >
<html>
<head>
<style type="text/css">

td{
width:120px;
background:#ffcc66 ;
}

</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看订单</title>
</head>
<body>
<%Order order=(Order)session.getAttribute("order"); %>
	<div class="div1">
		<table>
			<tr>
				<td>订单号</td>
				<td><%=order.getId() %></td>
			</tr>
			<tr>
				<td>总价</td>
				<td><%=order.getTotal() %></td>
			</tr>
			<tr>
				<td>购买数量</td>
				<td><%=order.getQuantity() %></td>
			</tr>
			<tr>
				<td>联系方式</td>
				<td><%=order.getPhone() %></td>
			</tr>
			<tr>
				<td>地址</td>
				<td><%=order.getAddress() %></td>
			</tr>
		</table>
	</div>	
</body>
</html>